GH-37221: [C++] Refactor REE utilities with separating internal API, add flexible type matcher, and JSON support#48915
Open
HyukjinKwon wants to merge 1 commit intoapache:mainfrom
Open
GH-37221: [C++] Refactor REE utilities with separating internal API, add flexible type matcher, and JSON support#48915HyukjinKwon wants to merge 1 commit intoapache:mainfrom
HyukjinKwon wants to merge 1 commit intoapache:mainfrom
Conversation
|
|
be96daf to
1faccbe
Compare
Member
|
@github-actions crossbow submit -g cpp |
|
Revision: 7e1f70b Submitted crossbow builds: ursacomputing/crossbow @ actions-b9e0cacf84 |
pitrou
reviewed
Jan 26, 2026
Member
Author
|
The change is a bit large .. but a lot of them are moving the code around. Especially |
3c362b5 to
7ac7f91
Compare
Member
Author
|
Should be ready for a look. |
Member
Author
|
@github-actions crossbow submit -g cpp |
|
Revision: e1baf42 Submitted crossbow builds: ursacomputing/crossbow @ actions-b8a3e8cd32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
cpp/src/arrow/c/bridge_test.cc) required REE array encoding functionality for testing but had to depend on theARROW_COMPUTEmodule (#ifdef ARROW_COMPUTE) to accesscompute::RunEndEncode(). This created an unnecessary coupling.ArrayFromJSONStringWhat changes are included in this PR?
Before:
After:
Are these changes tested?
Yes. All existing REE tests continue to pass, and added new JSON parsing tests for REE arrays.
Are there any user-facing changes?
Yes, this adds REE support as below: